<template>
  <div class="main_content">
    <SideMenu :items="items"></SideMenu>

    <!-- 组件强行不复用 ，使用同一页面加载不同数据-->
    <router-view :key="$route.fullPath"></router-view>
  </div>
</template>

<script>
import SideMenu from "../../components/sidemenu/SideMenu.vue";

export default {
  components: {
    SideMenu,
  },
  data() {
    return {
      items: [
        {
          index: "wish",
          title: "智慧阁",
          icon: "el-icon-s-opportunity",
        },
      ],
    };
  },
};
</script>

<style scoped>
.el-container {
  height: 100%;
}

.main_content {
  display: flex;
  /* flex-wrap: wrap; */
  height: 100%;
  flex-direction: row;
}
</style>
